package com.cloud.api.utils;

import java.math.BigDecimal;

/**
 * @author 杨斌
 * 2024-08-28/8/2024
 */
public class DecimalUtils {
    public static BigDecimal parseBigDecimal(String value) {
        try {
            return new BigDecimal(value);
        } catch (NumberFormatException e) {
            return null;
        }
    }
}

